import request from "@/utils/request";

export function getBusinessInfo(){
    return request.get('/business/getBusinessInfo')
}

export function createShop(shop){
    return request.post('/business/createShop',shop)
}

export function listItem(shopId,itemId){
    return request.post('/business/listItem?shopId='+shopId+'&itemId='+itemId)
}

export function createShopItem(item){
    return request.post('/business/createShopItem',item)
}

export function getOrderByShopId(shopId){
    return request.get('/business/getOrderByShopId?shopId='+shopId)
}

